//
//  NSString+Addition.m
//  SOSTVCN
//
//  Created by 李佳楠 on 2017/7/5.
//  Copyright © 2017年 lee. All rights reserved.
//

#import "NSString+Addition.h"

@implementation NSString (Addition)

/**
 是否含有中文字符

 @return YES含有
 */
- (BOOL)includeChinese
{
    for(int i=0; i< [self length];i++)
    {
        int a =[self characterAtIndex:i];
        if( a >0x4e00&& a <0x9fff){
            return YES;
        }
    }
    return NO;
}
@end
